#ifndef WXTISSUEKEYCMD_H
#define WXTISSUEKEYCMD_H
#include <QObject>
#include "Command/BaseCmd.h"
#include "Protocol/WXTProtocol.h"


class WXTIssueKeyCmd: public BaseCmd
{
     Q_OBJECT
public:
   Q_INVOKABLE explicit WXTIssueKeyCmd(QObject *parent = 0);
    enum{FunctionCode = WXTProtocol::IssueKey};
   Package toPackage();
   void unPackage(Package package);
   void setBody(QByteArray body);
   void setSeData(struct SeData sedata);
    void setHttpHead(QMap<QByteArray,QByteArray> httpHead);
    QByteArray getKey();
    void setKey(QByteArray key);
private:
   QByteArray m_body;
   QByteArray m_key;
   struct SeData m_sedata;
   QMap<QByteArray,QByteArray> m_httpHead;
};


#endif // WXTISSUEKEYCMD_H
